package org.rguess.patterns.interfaces.composite;

public abstract class AComponent {
	protected String name;

	public AComponent(String name) {
		System.out.println(name);
	}

	abstract public void Add(AComponent c);

	// 添加节点
	abstract public void Remove(AComponent c);

	// 移除节点
	abstract public void Display(int AComponent);
	// 输出节点结构
}